freeze value meaning in Chinese
锁定数值
Examples
- When the constructor completes , all of the writes to final fields and to variables reachable indirectly through those final fields become " frozen , " and any thread that obtains a reference to that object after the freeze is guaranteed to see the frozen values for all frozen fields
当构造函数完成任务时,对final字段的所有写(以及通过这些final字段间接可及的变量)变为“冻结” ,所有在冻结之后获得对这个对象的引用的线程都会保证看到所有冻结字段的冻结值。